-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(users) Stops error on signin/signup #1495
Conversation
Uses the passport info object to simplify login and remove the need to temporarily cache the redirect within the session.
Coverage increased (+0.06%) to 73.058% when pulling 00cdf823dae824cd2b459d438a1209c59b2d0501 on Wuntenn:fixPassportRedirect into 17772fe on meanjs:master. |
2 similar comments
Coverage increased (+0.06%) to 73.058% when pulling 00cdf823dae824cd2b459d438a1209c59b2d0501 on Wuntenn:fixPassportRedirect into 17772fe on meanjs:master. |
Coverage increased (+0.06%) to 73.058% when pulling 00cdf823dae824cd2b459d438a1209c59b2d0501 on Wuntenn:fixPassportRedirect into 17772fe on meanjs:master. |
00cdf82
to
fb8e902
Compare
Restarted the build, since it looked like it was just a timeout issue with the last run. |
LGTM. I've pulled this down, and tested. I can verify this indeed fixes the issues of the redirects. However (there's always a "however"), I ran into an issue that's unrelated to the aim of this PR.. With this PR, we introduced a fix to enabled the In my PR that introduced the @Wuntenn I think we can fix this issue in this PR. What say you? My two suggested fixes are:
Option #2 may have more "business rule" impact for our users (i.e. more controversial to our users) , so I'm sort of leaning more toward option #1. |
Uses the passport info object to simplify login and remove the need to temporarily cache the redirect within the session.
Uses the passport info object to simplify login and remove the need to temporarily cache the redirect within the session.
* Added configuration for owasp. Synchronize client owap configs with the server configs. Also added a time indicator on failed login attempts to give the user feedback on subsequent failed login attempts. * switched to handlebar template for passing the server's owasp config down to the client. reverted some of the other changes (regarding the http request). * Removed debug code. * Changed variable name to owaspConfig * Fixed minor type-o's and set owasp.config() rather than the underlying configs. * chore(tidy): tidying up minor lint and layout issues * fix(lint): CSS alphabetize warnings (#1498) Fixes css lintings warnings of properties not alphabetized. * fix(authentication) Stops error on signin/signup (#1495) Uses the passport info object to simplify login and remove the need to temporarily cache the redirect within the session. * Moved owasp config into default and reverted other config files. Modified config to be "shared". This will allow future configurations to be easily passed to the client. * fixed 403 redirect if not signed in (#1496) * Update form-article.client.view.html For New Article, delete function no required * UI changes for mobile; autofocus * fixed broken password popover balloon * add e2e test for autofocus * Remove test, fix delete social login button * feat(core): Move template to .github folder * Deprecated $http success/error promise methods (#1508) Replaces the $http service calls with promise based methods of the client-side UsersService for the following: Users Change Password Users Manage Social Accounts Users Password Forgot Users Password Reset Users Signup Users Signin Modifies tests to reflect changes. Closes #1479 * rebase
Resolves issue relating to info object being used as the redirect path.
info
object allowing slight simplification of login; andFixes #1290, Fixes #1284